@import "@/style/scss/index.scss";

.toolbar-wrapper {
  width: 1920px;
  height: 44px;
  position: absolute;
  margin-top: 54px;
  .logo {
    width: 221px;
    margin-left: 223px;
  }
  .right-bar {
    margin-right: 0;
    float: right;
    display: table;
    .menus {
      margin-right: 225px;
      .bar-item {
        display: table-cell;
        text-decoration: none;
        &:hover {
          cursor: pointer;
        }
        .route-item {
          margin-left: 73px;
          font-size: 20px;
          font-weight: 400;
          color: #FFFFFF;
          padding: 7px 7px;
          &.active{
            border-bottom: solid 1px #ffffff;
          }
        }
        .route-item:hover {
          border-bottom: solid 1px #ffffff;
        }
      }
    }
    .user-info {
      margin-right: 66px;
      display: flex;
      .history-button {
        width: 120px;
        height: 40px;
        background: #93C8FF;
        border-radius: 20px;
        margin-right: 33px;
        font-size: 18px;
        font-weight: 400;
        color: #FFFFFF;
      }
      .user-info-box {
        display: flex;
        min-width: 192px;
        .user-avatar {
          margin: auto 18px auto auto;
          width: 40px;
          height: 40px;
          border-radius: 20px;
        }
        .user-name {
          margin: auto 25px auto 0;
          font-size: 18px;
          font-weight: 400;
          color: #FFFFFF;
        }
        .arrow {
          margin: auto 0;
          width: 20px;
          height: 20px;
        }
        &:hover {
          cursor: pointer;
        }
      }
      .user-menu-list {
        margin: 20px 0 auto auto;
        width: 192px;
        background: #93C7FF;
        border-radius: 22px;
        position: relative;
        z-index: 1;
        .menu-row {
          height: 66px;
          display: flex;
          border-bottom: 1px solid #78B8FD;
          &:last-child {
            border-bottom: transparent;
          }
          &:hover {
            cursor: pointer;
          }
          img {
            margin: auto 0 auto auto;
            width: 20px;
            height: 20px;
          }
          span {
            margin: auto auto auto 10px;
            font-size: 16px;
            font-weight: 400;
            color: #FFFFFF;
          }
        }
      }
    }
  }
}
